<div class="clearfix row-main" ng-controller="rolePowerCtrl">

	<div class='panel' ng-init="initRolePower()" >
		<div class="panel-heading clearfix" style="margin-bottom:20px;" >
			<ul id='typeNav' class='nav nav-tabs pull-left'>
				<li data-type='internal' class="active"><a href="javascript:void(0)" > 角色授权</a></li>
			</ul>
		</div>
		<form class="form-horizontal" role="form" id="form" >
					<div class="col-xs-6">
						<div class="form-group">
				          <label class="col-md-2 control-label required">角色编码</label>
				          <div class="col-md-4">
				             <input type='text' ng-model='coding' class='form-control'  />
				          </div>
				        </div>
						
						<div class="form-group">
							<label class="col-md-2 control-label required">角色名称</label>
							<div class="col-md-4">
								<input type="text" ng-model="role_name" class='form-control' />
							</div>
						</div>

						<div class="form-group">
							<label class="col-md-2 control-label"> 排序序号</label>
							<div class="col-md-4">
								<input type="text" ng-model="seq" class="form-control" />
							</div>
						</div>
						<div class="form-group" style="margin-bottom:0;">
							<label class="col-md-2 control-label"></label>
							<div class="col-md-4">
								<div id='formError' class='alert alert-danger hiding'></div>
							</div>
						</div>
						
						<div class="form-group">
				          <div class="col-md-offset-2 col-md-10">
				             <input type="submit" class='btn btn-primary' value='保存' data-loading='稍候...'  ng-click="saveAuth()" />
				             <a href='javascript:void(0)'  class='btn' ui-sref="role" >返回</a>
				          </div>
				        </div>
			        </div>
			        
					<div class="col-xs-6">
						<div class="widget-box widget-color-blue2">
							<div class="widget-body">
								<div class="widget-main padding-8">
									<ul id="treeRolePower" class="ztree"></ul>
								</div>
							</div>
						</div>
					</div>
					<div style=" clear: both;" ></div>
		</form>
	</div>
</div>